package com.hyh.toyshopping.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @version 1.0
 * @BelongsProject:IntelliJ IDEA
 * @BelongsPackage:com.hyh.toyshopping.model
 * @Author:hyhWTX
 * @ClassName:Message
 * @CreateTime:2022年-12月-18日 13:42
 * @Description: message实体类
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    private  Integer id;
    private String author;
    private String message;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date    mtime;

}
